package com.btpj.blog_server.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * view_count
 * @author BTPJ
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ViewCount implements Serializable {
    private Integer id;

    /**
     * 统计日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date viewDate;

    private Integer viewCount;

    private Integer userId;

    private static final long serialVersionUID = 1L;
}